What is the logic to check palindrome number

join shbcf.ru